<?php

namespace App\Model;

use Illuminate\Database\Eloquent\Model;

class User extends Model
{
    //1.关联表
    public $table = 'user_1';
    //2.主键
    public $primaryKey = 'user_id';

    //3.允许批量操作的字段
//    public $fillable = ['user_name','user_pass','email','phone'];
    //全部允许
     public $guarded = [];

    //4.是否维护created_at 和 updated_at 字段
     public $timestamps = false;



}
